﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Erp.Runtime.Services
{
    /// <summary>
    /// 默认的创建者
    /// </summary>
    public sealed class Creator : ICreator
    {
        /// <summary>
        /// 创建服务的实现
        /// </summary>
        /// <param name="provider">当前可用的服务提供者</param>
        /// <param name="key">服务申请对象</param>
        /// <returns>一个服务实例。</returns>
        public object GetInstance(ICompositionServiceProvider provider, CompositionServiceKey key)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 释放创建者对象的持有的实例。
        /// </summary>
        public void Dispose()
        {
            throw new NotImplementedException();
        }
    }
}
